<template>
  <div class="priority-support-view">
    <div class="page-header">
      <h1>优先技术支持</h1>
      <p>专业版专享服务 - 获取更快、更专业的技术支持</p>
    </div>
    
    <div class="support-options">
      <el-row :gutter="20">
        <el-col :xs="24" :md="12">
          <el-card class="support-card">
            <template #header>
              <div class="card-header">
                <el-icon class="header-icon"><Phone /></el-icon>
                <span>电话支持</span>
              </div>
            </template>
            <div class="card-body">
              <p>工作日 9:00-18:00 提供优先电话技术支持服务。</p>
              <div class="support-contact">
                <strong>支持热线：</strong> 400-888-8888
              </div>
            </div>
          </el-card>
        </el-col>
        <el-col :xs="24" :md="12">
          <el-card class="support-card">
            <template #header>
              <div class="card-header">
                <el-icon class="header-icon"><ChatRound /></el-icon>
                <span>在线咨询</span>
              </div>
            </template>
            <div class="card-body">
              <p>专业版用户享受5分钟内响应的优先在线咨询服务。</p>
              <div class="support-contact">
                <strong>响应时间：</strong> 工作日 8:00-20:00，周末 10:00-18:00
              </div>
            </div>
          </el-card>
        </el-col>
      </el-row>
    </div>
    
    <div class="support-benefits">
      <el-card class="benefits-card">
        <template #header>
          <div class="card-header">
            <span>专业版支持优势</span>
          </div>
        </template>
        <div class="card-body">
          <el-row :gutter="20">
            <el-col :xs="12" :md="6">
              <div class="benefit-item">
                <el-icon class="benefit-icon"><Timer /></el-icon>
                <h4>更快响应</h4>
                <p>优先处理问题，平均响应时间更短</p>
              </div>
            </el-col>
            <el-col :xs="12" :md="6">
              <div class="benefit-item">
          <el-icon class="benefit-icon"><User /></el-icon>
          <h4>专属顾问</h4>
          <p>获得专属技术顾问一对一服务</p>
        </div>
            </el-col>
            <el-col :xs="12" :md="6">
              <div class="benefit-item">
                <el-icon class="benefit-icon"><Setting /></el-icon>
                <h4>专家指导</h4>
                <p>高级工程师提供技术实施方案</p>
              </div>
            </el-col>
            <el-col :xs="12" :md="6">
              <div class="benefit-item">
                <el-icon class="benefit-icon"><Calendar /></el-icon>
                <h4>延长服务时间</h4>
                <p>更长的服务时间，覆盖更多业务场景</p>
              </div>
            </el-col>
          </el-row>
        </div>
      </el-card>
    </div>
  </div>
</template>

<script setup>
import { Phone, ChatRound, Timer, User, Setting, Calendar } from '@element-plus/icons-vue'
</script>

<style scoped>
.priority-support-view {
  padding: 20px;
  background-color: #f5f7fa;
  min-height: 100vh;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-header p {
  font-size: 1.2em;
  opacity: 0.9;
}

.support-options {
  max-width: 1200px;
  margin: 0 auto 30px;
}

.support-card {
  border-radius: 12px !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
}

.card-header {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
}

.header-icon {
  margin-right: 10px;
  font-size: 1.3em;
  color: #409eff;
}

.card-body {
  padding: 25px;
}

.card-body p {
  color: #606266;
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.support-contact {
  margin-bottom: 20px;
  color: #303133;
  font-size: 1.05em;
}

.contact-button {
  border-radius: 30px !important;
  padding: 10px 24px !important;
  font-size: 1em !important;
}

.support-benefits {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-card {
  border-radius: 12px !important;
  overflow: hidden;
}

.benefit-item {
  text-align: center;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.benefit-item:hover {
  background-color: #f0f9ff;
}

.benefit-icon {
  font-size: 2.5em;
  color: #409eff;
  margin-bottom: 15px;
}

.benefit-item h4 {
  color: #303133;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.benefit-item p {
  color: #606266;
  margin: 0;
  font-size: 0.95em;
}

@media (max-width: 768px) {
  .page-header {
    padding: 30px 15px;
  }
  
  .page-header h1 {
    font-size: 2em;
  }
  
  .card-body {
    padding: 20px 15px;
  }
  
  .benefit-item {
    padding: 15px;
    margin-bottom: 15px;
  }
}
</style>